package com.tanhua.server.service;

import com.tanhua.model.mongo.Movement;
import com.tanhua.model.mongo.Visitors;
import com.tanhua.model.vo.MovementsVo;
import com.tanhua.model.vo.PageResult;
import com.tanhua.model.vo.VisitorsVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface MovementService {
    void publishMovement(Movement movement, MultipartFile[] imageContent) throws IOException;

    PageResult findMyMovement(Long userId, Integer page, Integer pagesize);



    PageResult friendMove(Integer page, Integer pagesize);

    PageResult findRecommendMovements(Integer page, Integer pagesize);

    MovementsVo movementDetail(String id);

    List<VisitorsVo> visitors();
}
